﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[ExecuteInEditMode]
public class PostEffect : MonoBehaviour
{
    [Range(0,0.5f)]public float Edge = 0.2f;
    public Material mat;
    private void OnRenderImage(RenderTexture source, RenderTexture destination) {
        mat.SetFloat("_Edge",Edge);
        Graphics.Blit(source, destination, mat);
    }
}